/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WebBrowser_Cores;

import WebBrower_DAO.ContentNews_DAO;
import WebBrower_DAO.FatherInterface;
import WebBrower_DAO.WebsiteLink_DAO;
import WebBrower_DAO.Website_DAO;
import WebBrowser_DTO.ContentNews_DTO;
import com.sun.xml.internal.bind.v2.util.FatalAdapter;
import java.sql.Array;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Administrator
 */
public class WebBrowser_management implements Website_Father {

    /**
     * Lấy danh sách các nội dung
     *
     * @param websitelinkid
     * @return
     */
    @Override
    public List<ContentNews_DTO> DanhSachNoiDungTinTheoMaWebsiteLink(int websitelinkid) {
        List<ContentNews_DTO> listResult = new ArrayList<>();
        try {
            ContentNews_DAO m_handle = new ContentNews_DAO();
            listResult = m_handle.GetAllByWebsiteLinkID(websitelinkid);
        } catch (Exception ex) {
        }
        return listResult;
    }
}
